<template>
	<view class="" style="padding: 20rpx;">
		<rich-text :nodes="richText"></rich-text>
	</view>
</template>

<script>
	import {
		get_stores_detail_api
	} from '@/common/api.js'
	export default {
		data() {
			return {
				richText: "指引",
			}
		},
		onLoad({
			id
		}) {			
			this.getDetail(id)
		},
		methods: {
			getDetail(id) {
				get_stores_detail_api({
					id
				}).then(res => {
					this.richText = res.data.store_waycontent
				})
			}
		}
	}
</script>

<style>
</style>